package org.itboys.core.entity.mongo;

import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;

/**
 * @Author：贾琦磊
 * @Date：2018/8/30
 * @Description：
 */
@Entity(value = "SundayCouponOrderUserArea",noClassnameStored = true)
public class SundayCouponOrderUserArea extends BaseMongoEntity{
    //促销单id
    private Long couponId;
    //用户类型0--所有  1--会员  2--游客
    private Integer userType;

    public SundayCouponOrderUserArea() {
    }

    public SundayCouponOrderUserArea(Long couponId, Integer userType) {
        this.couponId = couponId;
        this.userType = userType;
    }

    public Long getCouponId() {
        return couponId;
    }

    public void setCouponId(Long couponId) {
        this.couponId = couponId;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }
}
